package com.zhku.onlineshop.Service;

import com.zhku.onlineshop.Pojo.Order;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface OrderService {
    Integer submitOrder(Order order);
    boolean changeOrderStatus(Integer id, String status);
    boolean removeOrder(Integer id);
    List<Order> getOrdersByCustomerId(Integer customer_id);

    List<Order> getOrderBystatus(Integer status);
}
